import {
  request
} from "./request"
// 用户相关

export const malogin = (params) => {
  let urlinviterId = "";
  if(params.inviterId > 0){
    urlinviterId += "&inviterId="+params.inviterId;
  }
  return request({
    url: '/auth/malogin?jsCode='+params.code+urlinviterId,
    method:"GET",
    is_wx_login:0,
  })
}

export const getgemomemberuser = (params) => {
  return request({
    url: '/system/gemouser/getgemomemberuser',
    method:"GET",
  })
}